package com.owen.elasticsearch.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author Owen
 */
@Data
@Document(indexName = "index",type = "fulltext")
public class Index implements java.io.Serializable {

    private static final long serialVersionUID = 2405700500242939398L;

    private String id;
    //@Field(type = FieldType.Text,analyzer = "ik_max_word",searchAnalyzer = "ik_max_word")
    private String content;

}
